package com.example.mrv.hrd;

import android.media.SoundPool;
import android.widget.TextView;

public class basicGame {
    static int initState = 12;
    static int phoneWidth;//手机宽度
    static int phoneHeight;//手机高度
    static int BlockWidth;//正方形
    static final int yNum = 5;//棋盘垂直方向块数量
    static final int xNum = 4;//棋盘水平方向块数量
    static final int chessNum = 10;
    static final int[] size={1,2, 2,2, 1,2, 1,2, 2,1, 1,2, 1,1, 1,1, 1,1, 1,1};//横向块大小，竖向块大小
    static int level = 0;//等级
    static final int[][] checkpoint={
            {0,0, 1,0, 3,0, 0,2, 1,2, 3,2, 1,3, 2,3, 0,4, 3,4},
            {3,0, 0,0, 2,1, 1,3, 2,3, 0,2, 2,0, 1,2, 3,2, 2,4},
            {2,0, 0,0, 1,2, 0,3, 2,2, 3,3, 0,2, 1,4, 2,3, 2,4},
            {2,0, 0,2, 3,0, 2,2, 0,1, 3,2, 0,4, 1,4, 2,4, 3,4},
            {2,1, 0,1, 3,1, 2,3, 0,3, 3,3, 0,0, 1,0, 2,0, 3,0},
            {0,0, 2,3, 1,0, 2,0, 2,2, 3,0, 0,2, 1,2, 0,3, 0,4}
    };//每一关卡对应的棋子位置
    static int[][] chessMap = new int[yNum+2][xNum+2];//棋盘上所有块的状态,+2表示一圈边界
    static boolean isContinue = false;
    static TextView[] chess;//所有棋子
    static int boundary = 11;// 边界序号
    static int step = 0;
    static TextView showStep;
    static SoundPool soundPool;
    static int[] music;
}
